package com.example.hearthstoneagain;

public class Carta {
	private String name;
	private String rarity; // basico, normal, raro, epico, lendario
	private String classe; // paladin, shaman, rogue, druid, priest, warlock, warrior, mage, hunter, none
	private int cost; // custo de mana
	private int attack; // 0 para magias/habilidades
	private int health; // durabilidade para armas, 0 para magias/habilidades
	private String tipo; // weapon, minion ou spell
	private boolean battlecry;
	private boolean charge;
	private boolean combo;
	private boolean deathrattle;
	private boolean divineshield;
	private boolean enrage;
	private boolean overload;
	private boolean spelldamage;
	private boolean stealth;
	private boolean taunt;
	private boolean windfury;
	private String texto;
	private String url;
	private String comentario;
	
	public Carta (String n, String r, String c, int co, int a, int h, String t, boolean bat, boolean cha, boolean com, boolean dea, boolean div, boolean enr, 
			boolean ove, boolean spe, boolean ste, boolean tau, boolean win, String tex, String ur, String coment) {
		name = n;
		rarity = r;
		classe = c;
		cost = co;
		attack = a;
		health = h;
		tipo = t;
		battlecry = bat;
		charge = cha;
		combo = com;
		deathrattle = dea;
		divineshield = div;
		enrage = enr;
		overload = ove;
		spelldamage =  spe;
		stealth = ste;
		taunt = tau;
		windfury = win;
		texto = tex;
		url = ur;
		comentario = coment;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRarity() {
		return rarity;
	}
	public void setRarity(String rarity) {
		this.rarity = rarity;
	}
	public String getClasse() {
		return classe;
	}
	public void setClasse(String classe) {
		this.classe = classe;
	}
	public int getCost() {
		return cost;
	}
	public void setCost(int cost) {
		this.cost = cost;
	}
	public int getHealth() {
		return health;
	}
	public void setHealth(int health) {
		this.health = health;
	}
	public int getAttack() {
		return attack;
	}
	public void setAttack(int attack) {
		this.attack = attack;
	}
	public String isBattlecry() {
		if(battlecry)
			return "Y";
		return "N";
	}
	public void setBattlecry(boolean battlecry) {
		this.battlecry = battlecry;
	}
	public String getTipo() {
		return tipo;
	}
	public void setTipo(String tipo) {
		this.tipo = tipo;
	}
	public String isCharge() {
		if(charge)
			return "Y";
		return "N";
	}
	public void setCharge(boolean charge) {
		this.charge = charge;
	}
	public String isDeathrattle() {
		if(deathrattle)
			return "Y";
		return "N";
	}
	public void setDeathrattle(boolean deathrattle) {
		this.deathrattle = deathrattle;
	}
	public String isCombo() {
		if(combo)
			return "Y";
		return "N";
	}
	public void setCombo(boolean combo) {
		this.combo = combo;
	}
	public String isDivineshield() {
		if(divineshield)
			return "Y";
		return "N";
	}
	public void setDivineshield(boolean divineshield) {
		this.divineshield = divineshield;
	}
	public String isEnrage() {
		if(enrage)
			return "Y";
		return "N";
	}
	public void setEnrage(boolean enrage) {
		this.enrage = enrage;
	}
	public String isOverload() {
		if(overload)
			return "Y";
		return "N";
	}
	public void setOverload(boolean overload) {
		this.overload = overload;
	}
	public String isSpelldamage() {
		if(spelldamage)
			return "Y";
		return "N";
	}
	public void setSpelldamage(boolean spelldamage) {
		this.spelldamage = spelldamage;
	}
	public String isStealth() {
		if(stealth)
			return "Y";
		return "N";
	}
	public void setStealth(boolean stealth) {
		this.stealth = stealth;
	}
	public String isTaunt() {
		if(taunt)
			return "Y";
		return "N";
	}
	public void setTaunt(boolean taunt) {
		this.taunt = taunt;
	}
	public String isWindfury() {
		if(windfury)
			return "Y";
		return "N";
	}
	public void setWindfury(boolean windfury) {
		this.windfury = windfury;
	}

	public String getTexto() {
		return texto;
	}

	public void setTexto(String texto) {
		this.texto = texto;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getComentario() {
		return comentario;
	}

	public void setComentario(String comentario) {
		this.comentario = comentario;
	}
	
	
}
